package com.czy.form.model;


import lombok.Data;

import javax.persistence.*;
import java.util.Set;

@Entity
@Table(name = "form_info", schema = "form")
@Data
public class FormInfo extends FormMeta{


    @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER)
    @JoinColumn(name = "form_id")
    Set<FormFieldInfo> fields;

}
